Skip to content

Add support for Baryanic Leylines (Disciple of Varashta)#1804

Open
awlego wants to merge 2 commits intoPathOfBuildingCommunity:devfrom
awlego:baryanic-leylines
Open

Add support for Baryanic Leylines (Disciple of Varashta)#1804
awlego wants to merge 2 commits intoPathOfBuildingCommunity:devfrom
awlego:baryanic-leylines

Conversation

@awlego
Copy link
Copy Markdown

@awlego awlego commented Apr 23, 2026

Description of the problem being solved:

Adds support for Baryanic Leylines (Disciple of Varashta). The tree entry for "Non-Unique Time-Lost Jewels have 40% increased radius" existed but had no parser, so allocating the notable did nothing.

  • ModParser.lua parses the stat into a NonUniqueTimeLostJewelRadius INC mod.
  • Data.lua adds four precomputed +40% radius tiers plus a resolveTimeLostRadiusIndex helper keyed by percent.
  • CalcSetup.lua and PassiveTreeView.lua call the helper so in-radius calcs, the socket ring, and node tooltips all use the upgraded radius on non-unique Time-Lost jewels.
  • ModCache.lua regenerated; new spec added.

Steps taken to verify a working solution:

  • Launched PoB from the dev branch plus this change, picked a Sorceress, allocated Disciple of Varashta → Baryanic Leylines.
  • With Alt held over the notable, confirmed the stat line parses as NonUniqueTimeLostJewelRadius INC 40
  • Socketed a non-unique Time-Lost Ruby with an explicit Small Passives in Radius also grant X% roll into an allocated jewel socket; recorded which passives it affected before allocating Baryanic Leylines.
  • Allocated Baryanic Leylines and confirmed via Alt-hover on individual passives that a node previously outside the base radius now receives the jewel's bonus (e.g. "+3% increased Armour from the Time-Lost Jewel"), and that the ring drawn on the tree for the socket visibly expands.
  • De-allocated Baryanic Leylines and confirmed both the affected-passive list and the drawn ring return to baseline.
  • Confirmed Against the Darkness (unique Time-Lost Diamond) is unaffected — its radius stays the same with Baryanic Leylines allocated, per the "Non-Unique" qualifier.
  • Added TestBaryanicLeylines_spec.lua

Link to a build that showcases this PR:

Before screenshot:

(without Baryonic Leylines)
image
(with Baryonic Leylines)
image
(and a before shot of a passive outside the ring)
image

After screenshot:

Showing that the Baryanic Leylines node shows that it is supported and the effects it will have on the build.
image
Same build/view on this branch, ring now visibly expanded and a previously-unaffected passive showing the jewel's inherited stats in its tooltip.
image

@LocalIdentity LocalIdentity added the enhancement New feature, calculation, or mod label May 8, 2026
@awlego awlego force-pushed the baryanic-leylines branch from 452eb45 to c6dacc0 Compare May 8, 2026 20:37
awlego added 2 commits May 8, 2026 14:34
Parse "Non-Unique Time-Lost Jewels have X% increased radius" into a
NonUniqueTimeLostJewelRadius modifier. When the build has the modifier,
non-unique Time-Lost Jewels swap to a precomputed +40% radius tier for
the in-radius passive computation and for the socket ring drawn on the
tree. Regenerated ModCache.lua accordingly.
- Append "(+X% from tree)" to the jewel tooltip Radius line when a build
  has NonUniqueTimeLostJewelRadius active.
- Skip Time-Lost upgrade radius indexes in the AddNodeTooltip probe set
  unless the build actually has access to them, avoiding unnecessary
  ProcessStats calls per hover.
@awlego awlego force-pushed the baryanic-leylines branch from 711d527 to ae99b0c Compare May 8, 2026 21:34
@awlego
Copy link
Copy Markdown
Author

awlego commented May 8, 2026

Updated the PR with the latest so modcache should be up to date as well as did some polish around the tooltip.

@awlego
Copy link
Copy Markdown
Author

awlego commented May 9, 2026

Baryanic and Leylines merged into the poe-dict repo so they shouldn't fail cspell now either when CI pulls it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants